package com.my.study.designPatterns.singlePattern;

/**
 * 单例模式一、普通版本
 */
public class SingleNormal {

    public static SingleNormal instannce = null;


    private SingleNormal(){

    }


    public static SingleNormal getInstance(){

        if(instannce == null){
            instannce = new SingleNormal();
        }
        return instannce;
    }
}
